package com.chima.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;
import com.chima.domain.Department;
import com.chima.domain.HsCheckDepartment;
import com.chima.domain.PageRequestBean;
import com.chima.domain.PageResponseBean;
@Transactional
public interface DepartmentService {
	public PageResponseBean findDepartment(PageRequestBean pageRequestBean);
	public void saveDepartment(Department department); 
	public void updateDepartment(Department department); 
	public void deleteDepartment(int id);
	public Department findByName(String name);
	public Department findByIdAndflag(int id,int flag);
	public List<Department> findByflag( int flag);
	public Department findById( int deptId);
	public List<Department> findAll( );
	public List<HsCheckDepartment> findHsCheckDepartmentBymonth(
			String searchdate1);
	public HsCheckDepartment findhsCheckDepartmentByid(int parseInt);
	public void addhsCheckDepartment(HsCheckDepartment hsCheckDepartment);
	public List<Department> findListAllzhuyuanDepartment();
}
